-
Notifications
You must be signed in to change notification settings - Fork 6
fix: return logs for validator tests #109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughAdds a crate feature Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Caller
participant Processor
participant FastProc as fast_process_instruction
participant Logger
Caller->>Processor: invoke processing
Processor->>FastProc: call fast_process_instruction(discriminator, ...)
alt logging feature enabled
FastProc->>Logger: log("processed discriminator", discriminator)
else logging feature disabled
FastProc-->>Processor: proceed without logging
end
FastProc-->>Processor: return result
Processor-->>Caller: return
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-10-15T11:45:25.802ZApplied to files:
🧬 Code graph analysis (1)src/lib.rs (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
75fde9a to
fa8e616
Compare
snawaz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Let's merge. 🎉
And thanks for suggesting an alternative testing approach in #115. Overall, it feels much better. 👍
Problem
What problem are you trying to solve?
Some of the tests in validator rely on logs by dlp. Those logs not longer present in fast branch
Solution
How did you solve the problem?
Adding logs back under
unit_test_configfeatureBefore & After Screenshots
Insert screenshots of example code output
BEFORE:
[insert screenshot here]
AFTER:
[insert screenshot here]
Other changes (e.g. bug fixes, small refactors)
Deploy Notes
Notes regarding deployment of the contained body of work. These should note any
new dependencies, new scripts, etc.
New scripts:
script: script detailsNew dependencies:
dependency: dependency detailsSummary by CodeRabbit